<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">


<zmn th:fragment="query">
    <div class="layui-form-item">
        <div class="layui-inline d-margin-right0">
            <label class="layui-form-label" style="width: 50px; text-align: left;">工程师：</label>
            <div class="layui-input-inline" style="width: 300px;">
                <select id="masterSelect" name="masterId" lay-filter="masterSelect" lay-search>
                    <option value="">请选择</option>
                    <option th:each="item : ${distributeVO.masterList}" th:selected="${item.masterId == distributeVO.masterId}" th:value="${item.masterId}" th:text="${item.masterName} + '-' + ${item.masterPhone}"></option>
                </select>
            </div>
        </div>

        <div class="layui-form-mid layui-word-aux">
            <p th:if="${#stringUtils.isNotBlank(distributeVO.masterName)}|"> 已选工程师：[[${distributeVO.masterName}]]</p>
        </div>

        <div class="layui-inline d-lineheight d-marginleft">
            <button class="layui-btn layui-btn-normal d-button" lay-submit="" lay-filter="query-submit">查询</button>
        </div>


    </div>

</zmn>